﻿@{
	ViewBag.Title = "Home";
}
<header class="jumbotron subhead" id="overview">
	<h1>
		Welcome to MVC Forum</h1>
</header>
<section id="main">
	<div class="row-fluid">
		<div class="span8">
			<h3>Sample site</h3>
			<p>This is the small sample site included in the MVC Forum package. This site uses standard ASP.NET MVC features, and is an excellent source on informations for people interested in using MVC Forum with their own existing, or new, ASP.NET MVC applications.</p>
			<h3>Navigation</h3>
			<p>The site has a small (almost) static navigation that can be easily swapped with your own static or dynamic navigation.</p>
			<h3>Controllers</h3>
			<p>You can register as a new user, or log-on, as an existing user, with the included account controller. The actions are very simple and almost match the actions in the regular ASP.NET MVC project template. You can use these actions for your own site, or easily create your own.</p>
			<h3>Feedback please!</h3>
			<p>If you're a happy, or not so happy, user of MVC Forum, please, please! let us know! Please visit the <a href="http://mvcforum.codeplex.com">MVC Forum project on Codeplex</a> or our <a href="http://mvcforum.org">main MVC Forum site</a> and tell us what you like and what you don't like!</p>
			<h3>Thank you!</h3>
			<p>MVC Forum wouldn't be where it is today without these open source projects (in no particular order):</p>
			<ul>
				<li>ASP.NET MVC</li>
				<li>Entity Framework</li>
				<li>Codekicker (BBCode)</li>
				<li>Lucene.Net</li>
				<li>Twitter Bootstrap</li>
				<li>Knockoutjs</li>
				<li>Ninject</li>
				<li>MVC Bootstrap</li>
				<li>Niels Kühnel's Localization framework (included in MVC Bootstrap)</li>
				<li>Json.Net</li>
				<li>MVC Themes</li>
				<li>MarkItUp</li>
				<li>jQuery</li>
			</ul>
			<p>And to all those I forgot: sorry!</p>
		</div>
		<div class="span4" id="topics">
			<h3>Links</h3>
			<ul class="unstyled">
				<li>@Html.ActionLink("The forum", "Index", "Forum")</li>
				<li>@Html.ActionLink("The admin panel", "Index", "ForumAdmin")</li>
				<li>@Html.ActionLink("Basic installation (this should only be run once)", "Index", "BasicInstall", new { area = "forumadmin" }, null)</li>
			</ul>
			<h3>Latest posts</h3>
			<dl>
			<!-- ko foreach: Topics -->
				<dt><a data-bind="text: Title, attr: { href: Url }"></a></dt>
				<dd data-bind="text: PostedShortString() + ', ' + Author"></dd>
			<!-- /ko -->
			</dl>
		</div>
	</div>
</section>
<script type="text/javascript">
	var loadUrl = "@Url.Action("listlatesttopics", "forum", new { id = 1, mode = "json", count = 3, area = "forumapi" })";
</script>

@section scripts {
	<script type="text/javascript" src="@Url.Content("~/scripts/knockout.validation.js")"></script>
	<script type="text/javascript" src="@Url.Content("~/scripts/boostrap-collapse.js")"></script>
	<script type="text/javascript" src="@Url.Content("~/scripts/common.js")"></script>
	<script type="text/javascript" src="@Url.Content("~/scripts/viewmodels/latesttopics.js")"></script>
}
